/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.tamnhat.entity;

import java.io.Serializable;
import java.util.Properties;

/**
 *
 * @author Administrator
 */
public class MediaItem implements Serializable{
    private String itemId;
    private int downloadCount;
    private int viewCount;
    private Properties properties;

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    public int getDownloadCount() {
        return downloadCount;
    }

    public void setDownloadCount(int downloadCount) {
        this.downloadCount = downloadCount;
    }

    public int getViewCount() {
        return viewCount;
    }

    public void setViewCount(int viewCount) {
        this.viewCount = viewCount;
    }

    public Properties getProperties() {
        return properties;
    }

    public void setProperties(Properties properties) {
        this.properties = properties;
    }

    public MediaItem() {
        downloadCount = 0;
        viewCount = 0;
        properties = new Properties();
    }

    public MediaItem(String itemId, int downloadCount, int viewCount, Properties properties) {
        this.itemId = itemId;
        this.downloadCount = downloadCount;
        this.viewCount = viewCount;
        this.properties = properties;
    }
    
}
